import Axios from '../uitils/axios'

type User = {
    username:string,
    password:string
}
export const Loginuser = (user:User) =>Axios.post('/api/auth/login',user)

//退出登录

export const outlogin =() =>Axios.post('/api/auth/logout')